package service

import (
	"seat-service/model"
	"seat-service/model/dto"
)

type Carousel interface {
	AddCarousel(carousel model.Carousel) error
	DelCarousel(id uint) error
	UpdateCarousel(carousel model.Carousel) error
	QueryCarousel(page, pageSize int) (dto.CarouselReturnDto, error)
	QueryCarouselByTitle(page, pageSize int, title string) (dto.CarouselReturnDto, error)
	PublishStatusCarousel(id uint) error
}
